home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DO1002.ARJ / DEBUG.SCR < prev    next >
Text File  |  1991-12-03  |  1KB  |  40 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« SetDebug »ye«
  3.  
  4.     /DEBUG [ON|OFF|FULL|MEM]
  5. /cw
  6.     The »%t«SetDebug»#« command is used when creating and testing
  7.     scripts.  When set on, »wh«all commands are displayed before
  8.     they are executed»#«.  It will also, optionally, show the
  9.     amount of available memory.
  10.  
  11.     The parameters are:
  12.  
  13.     »wh«ON»cy«          Show commands before execution and position
  14.                 in bytes into the script file
  15.     »wh«OFF»cy«         Stop »%t«/DEBUG»cy« displays
  16.     »wh«MEM»cy«         Show available memory and stack space
  17.     »wh«FULL»cy«        Shows all information»#«
  18.  
  19. .pg clr
  20. |/DEBUG ON
  21.     The »%t«/DEBUG»#« command was shown using the "»+ye«|»#«" in column »gr«1»#«.
  22.  
  23.     This »%t«/PAGE»#« command will be shown before it is executed.
  24.  
  25. »go 54 19 ye«Debug Information»go 1 5 #«
  26. /page -10
  27. /DEBUG MEM
  28. .go 1 5
  29.  
  30.     »gr«NOTE»cy«:  »#«The vertical bar "»ye«|»#«" in front of any »wh«command»#« or
  31.            »wh«display line»#« will show the individual line before it
  32.            is executed.
  33.  
  34. .pg clr
  35.  
  36.      This command will turn the debug information off.
  37.  
  38. |/DEBUG OFF
  39. /ENDEXEC CLEAR
  40.